<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<!-- <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/themes/default/easyui.css" />
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/themes/icon.css" />
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/ainit.css" type="text/css"></link> -->
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/sysPrint/printCss/print.css" />
        <link rel="stylesheet" href="../printCss/print.css" type="text/css"></link>
 	<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.4.4.min.js"></script>
 	<script type="text/javascript" src="${pageContext.request.contextPath}/My97DatePicker/WdatePicker.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.easyui.min.1.2.2.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.json-2.4.min.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.ainit-1.0.0.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/model/js/jquery.ainit-1.1.0.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/model/js/model.js"></script> 
    <script type="text/javascript" src="${pageContext.request.contextPath}/model/js/perlize.js"></script> 
    <script type="text/javascript" src="${pageContext.request.contextPath}/model/js/save.js"></script> 
    <script type="text/javascript" src="${pageContext.request.contextPath}/model/js/initPage.js"></script> 
    <script type="text/javascript" src="${pageContext.request.contextPath}/sysReport/report.js"></script>
    <script type="text/javascript">
		$(function(){
			$("#dotted :last ").remove()
		});
	</script>
	        <script type="text/javascript">
        window.onload=function name(){
          window.print();
          window.close();
    }
     </script> 
</head>
<body>
	<div id="xtlxquerya">
		<div id="main" >
			<form action="" >
				<table border="1" cellpadding="0" cellspacing="0"> 
					<tr>
						<th colspan='3' class="b" style="font-size:20px;">${data.Company} * 印厂入库信息资料</th>
					</tr>
					<tr >
						<td colspan='3' class="b"><strong>商品入库唯一：${data.SPRK_ID}</strong><br/>
						银行账号：${data.ACCOUNT_NO}</td>
					</tr>
					<tr>
						<td id="xtlxqueryaimg"  rowspan='13'><img src="../model/images/123.jpg" ></td>
					</tr>
					<tr>
						<td ><strong>码洋</strong></td>
						<td class="a" ><div align="right">${data.TOTAL_MONEY}.00</div></td>
					</tr>
					<tr>
						<td ><strong>所属站点</strong></td>
						<td class="a" >${data.STATION_ID}</td>
					</tr>
					<tr>
						<td ><strong>录单人</strong></td>
						<td class="a">${data.INPUT_MAN}</td>
					</tr>
					<tr>
						<td ><strong>录单时间</strong></td>
						<td class="a">${data.INPUT_DATE}</td>
					</tr>
					<tr>
						<td ><strong>部门</strong></td>
						<td class="a">${data.BUMEN}</td>
					</tr>
					<tr>
						<td ><strong>主管业务</strong></td>
						<td class="a">${data.O_ID_LASTGR}</td>
					</tr>
					<tr>
						<td ><strong>承接厂</strong></td>
						<td class="a">${data.CJ_MAN}</td>
					</tr>
					<tr>
						<td ><strong>结算货源</strong></td>
						<td class="a">${data.HY_MAN}</td>
					</tr>
					<tr>
						<td ><strong>备注</strong></td>
						<td class="a">${data.MEMO}</td>
					</tr>
					<tr>
						<td ><strong>批次</strong></td>
						<td class="a" align="right"><div align="right">${data.PICI}</div></td>
					</tr>
					<tr>
						<td ><strong>是否出入库</strong></td>
						<td class="a">${data.IS_STOCK}</td>
					</tr>
					<tr>
						<td ><strong>出入库时间</strong></td>
						<td class="a">${data.STOCK_DATE}</td>
					</tr>
					<tr>
						<td ><strong>联系人</strong></td>
						<td class="a">${data.CONTACT_MAN}</td>
					</tr>
				</table>
				
				<table border="1" cellpadding="0" cellspacing="0">
				<tr>
				<td colspan="8"><hr width=860px align="left"  /></td>
				</tr>
					<tr>
						<td><strong>印次</strong></td>
						<td><strong>提印数量</strong></td>
						<td><strong>下厂数量</strong></td>
						<td><strong>入库数量</strong></td>
						<td><strong>未入库数</strong></td>
						<td><strng>折扣</strng></td>
						<td><strong>库位</strong></td>
						<td><strong>商品名称</strong></td>
					</tr>
					  <tr>
				   	<td colspan="8"><hr width=860px align="left" /></td></tr>
				   </tr>
					<c:forEach items="${dataList}" var="temp">
						<tr>
							<td><div align="right">${temp.YINCI}</div></td>
							<td><div align="right">${temp.TY_AMOUNT}</div></td>
							<td><div align="right">${temp.XC_AMOUNT}</div></td>
							<td><div align="right">${temp.STORE_AMOUNT}</div></td>
							<td><div align="right">${temp.LAST_AMOUNT}</div></td>
							<td><div align="right">${temp.H_DISCOUNT}.00</div></td>
							<td>${temp.S_ID}</td>
							<td>${temp.H_NAME}</td>
						</tr>
						<tr id="dotted">
				        <td colspan="8"><hr width=860px align="left" style="border: 1px dotted;"  /></td>
				       </tr>
					</c:forEach>				
				</table>
			</form>
		</div>
	</div>
</body>
</html>